﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 单据实体基类
    /// </summary>
    [Serializable]
    [DataContract]
    public class RS_BillBase : Entity
    {
        /// <summary>
        /// 获取或设置单据编号
        /// </summary>
        [DataMember]
        public string BillId { get; set; }

        /// <summary>
        /// 获取或设置单据金额
        /// </summary>
        [DataMember]
        public decimal Amount { get; set; }
        
        /// <summary>
        /// 获取或设置发生时间
        /// </summary>
        [DataMember]
        public DateTime OccurTime { get; set; }

        /// <summary>
        /// 获取或设置操作人员编号
        /// </summary>
        [DataMember]
        public long OperatorId { get; set; }

        /// <summary>
        /// 获取或设置校核人员编号
        /// </summary>
        [DataMember]
        public long CheckerId { get; set; }

        /// <summary>
        /// 获取或设置单据状态
        /// </summary>
        [DataMember]
        public int Status { get; set; }

        /// <summary>
        /// 获取或设置备注内容
        /// </summary>
        [DataMember]
        public string Remarks { get; set; }
    }
}
